#ifndef SERVICE_CTRL_H
#define SERVICE_CTRL_H
#include "department.h"
#include "employee.h"
#include "service_mode_impl.h"
class ServiceCtrl
{
	public:
	~ServiceCtrl()
	{
		cout << "执行了ServiceCtrl的析构函数..." << endl;
	}
	virtual bool addDept(Department&) = 0;
	virtual int delDept(int) = 0;
	virtual vector<Department>& listDept(void) = 0;
	virtual bool addEmp(int,Employee&) = 0;
	virtual bool delEmp(int) = 0;
	virtual bool modEmp(int,Employee&) = 0;
	virtual Department* listEmp(int) = 0;
	virtual vector<Department>& listAllEmp() = 0;
};
#endif//SERVICE_CTRL_H
